// ******************************************************************************************* // Files.h CARBON EVENT MODEL CARBON // ******************************************************************************************* // // This program demonstrates: // // • File operations associated with: // // • The user invoking the File menu Open…, Close, Save, Save As…, Revert, and Quit // commands of a typical application. // // • Handling of the required Apple events Open Application, Re-open Application, Open // Documents and Quit Application. // // • File synchronisation. // // • The use of Navigation Services to display Open, Save, and Choose a Folder dialog boxes. // // • The use of Navigation Services to display Save Changes and Discard Changes alert boxes. // // To keep the code not specifically related to files and file-handling to a minimum, an item // is included in the Demonstration menu which allows the user to simulate "touching" a w